package com.psp.service.impl;


import java.util.List;

import org.springframework.stereotype.Service;

import com.psp.base.BaseServiceImpl;
import com.psp.domain.User;
import com.psp.service.UserService;
@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService{

	@Override
	public User findByLoginName(String loginName) {
		return userDao.findByLoginName(loginName);
	}

	@Override
	public List<User> findUserByDepartmentId(Long departmentId) {
		// TODO Auto-generated method stub
		return userDao.findUserByDepartmentId(departmentId);
	}
}
